import { herinRequist } from "../http.js";
const Mission = {
	getReportList(data) {
		return herinRequist({ url: '/pc/activity-report-list', method: 'GET',data});
	},
	getAuditList(data) {
		return herinRequist({ url: '/pc/activity-audit-list', method: 'GET',data});
	},
	postActivityReport(data){
		return herinRequist({ url: '/pc/activity-report', method: 'POST',data, contentType:'application/json'});
	},
	postActivityAudit(data){
		return herinRequist({ url: '/pc/activity-audit', method: 'POST',data, contentType:'application/json'});
	},
	getReportDetail(id){
		return herinRequist({ url: '/pc/activity-report-detail', method: 'GET',data:{id}});
	},
	getTaskList(data){
		return herinRequist({ url: '/pc/study-task-list', method: 'GET',data});
	},
	getknowledge(data){
		return herinRequist({ url: '/pc/knowledge-list', method: 'GET',data});
	},
	getknowledgeDetail(id){
		return herinRequist({ url: '/pc/knowledge-detail', method: 'GET',data:{id}});
	},
	getCompleteList(id){
		return herinRequist({ url: '/pc/study-task-complete-list', method: 'GET',data:{id}});
	},
	getExamList(data){
		return herinRequist({url:'/pc/exam-list',method:"GET",data})
	},
	postTaskComplete(data){
		return herinRequist({ url: '/pc/study-task-complete', method: 'POST',data, contentType:'application/json'});
	},
	getTaskChart(){
		return herinRequist({url:'/pc/study-task-chart',method:"GET"})
	},
	getTaskCancel(id){
		return herinRequist({url:'/pc/activity-cancel',method:"POST",data:{id}})
	},
	
}

export default Mission;
